#include "Log.hpp"
#include <memory>
using namespace LogModule;


int main()
{
    // std::unique_ptr<LogStrategy> strategy1 = std::make_unique<ConsoleStrategy>();
    // strategy1->SyncLog(message);
    // std::unique_ptr<LogStrategy> strategy2 = std::make_unique<FileStrategy>();
    // strategy2->SyncLog(message);

    Logger logger(CONSOLE);
    logger(LogLevel::DEBUG, "main.cc", 10) << "hello world";
    logger(LogLevel::DEBUG, "main.cc", 10) << "My name is Wang Jiale";
    logger(LogLevel::DEBUG) << "My name is C++";
    logger(LogLevel::ERROR, __FILE__, __LINE__);

    return 0;
}
